<template>
    <div>
        <mt-button type="primary" style="width: 100%">primary</mt-button>
        <mt-button type="danger" style="width: 100%" @click.native="handleClick">danger</mt-button>
    </div>
</template>

<script>
    import { Toast } from 'mint-ui';
    export default {
        name: "App",
        methods:{
            handleClick(){
                Toast({
                    message: '提示哈哈哈'
                });
            }
        }
    }
</script>

<style scoped>

</style>